<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add_model_make_master.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script src="Scripts/mfcrm_js.js" type="text/javascript"></script>
    <script src="Scripts/box.js" type="text/javascript"></script>
    <link href="Styles/box.css" rel="stylesheet" type="text/css" />
    <link href="Styles/mfcrm_styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function refreshParent() {
  window.opener.location.href = window.opener.location.href;
}

</script>
  </head>
  
  <body>
   <s:form name="model_master" action="add_new_model" >
    <br>
    			  <table cellpadding="3" cellspacing="1" border="0" bgcolor="#f5f5f5" style="width: 100%">
						    <tbody>
						 <tr>
					       	   <td nowrap="nowrap" bgcolor="#530053" style="font-family: &#39;Courier New&#39;, Courier, monospace; font-size: large; color: #FFFFFF; font-style: normal; text-transform: capitalize" align="right" colspan="4">Make_Model</td>
					       	   <td nowrap="nowrap" bgcolor="#530053" style="font-family: &#39;Courier New&#39;, Courier, monospace; font-size: large; color: #FFFFFF; font-style: normal; text-transform: capitalize" align="left" colspan="4">Master</td>
						      </tr> 
                          
						      <tr bgcolor="#ffffff">
						         <td class="style1">ID: <span id="id" style="color:Red;font-size:Medium;display:none;">*</span>
                                    
                                  </td>
                                  
						        <td class="style1">
                                    <input name="id" type="hidden"  id="id" title="Please Press Tab" onkeypress='validate(event)' readonly="readonly">
                                  </td>
						        <td class="style1">Year Start:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                 <td class="style2">
                                 <input name="year_start" type="text" id="year_start" tabindex="1" onkeypress='validate(event)'></td>
						        <td class="style5">Year End:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"><input name="year_end" type="text" id="year_end" tabindex="2" onkeypress='validate(event)'>		       
                               </td>
                              
                                                         
						        <td class="style1">Make:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
                                <td nowrap="nowrap" class="style1"><input name="make" type="text" id="make" tabindex="3" ></td>
                               
					           </tr>
     				          <tr bgcolor="#ffffff">
     				       
						        <td class="style1">Model:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
						        <td valign="top" nowrap="nowrap" class="style1">
						         <input name="model" type="text" id="model" tabindex="4" >
						          </td>
						        <td class="style1">Version:<span style="color:Red;font-size:Medium;visibility:hidden;">*</span>
                                  </td>
                                 <td nowrap="nowrap" class="style1"><input name="version" type="text" id="version" tabindex="5"></td>
						        <td class="style5">Segment:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"><input name="segment" type="text"  id="segment" title="Please Press Tab" tabindex="6">
                                  </td>
                               
                                  
                                <td class="style5">Body Style:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"><input name="body_style" type="text"  id="s_body_style" title="Please Press Tab" tabindex="7">
                                  </td>
					          </tr>
					          
					           <tr bgcolor="#ffffff">
     				       
						        <td class="style1">Category:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
						        <td valign="top" nowrap="nowrap" class="style1">
						         <input name="category" type="text" id="category" tabindex="8" >
						          </td>
						        <td class="style1">Transmission:<span style="color:Red;font-size:Medium;visibility:hidden;">*</span>
                                  </td>
                                 <td nowrap="nowrap" class="style1"><input name="transmission_type" type="text" id="transmission_type" tabindex="9"></td>
						        <td class="style5">Lower Price<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"><input name="lower_price" type="text" id="lower_price" tabindex="10"> </td>
                               
                                  
                                <td class="style5">Upper Price<span  style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"><input name="upper_price" type="text" id="upper_price" tabindex="11"> </td>
					          </tr>
					          
					           <tr bgcolor="#ffffff">
     				       
						        <td class="style1">Fuel Type:<span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
						        <td valign="top" nowrap="nowrap" class="style1">
						         <input name="fuel_type" type="text" id="fuel_type" tabindex="12" >
						          </td>
						        <td class="style1"><span style="color:Red;font-size:Medium;visibility:hidden;">*</span>
                                  </td>
                                 <td nowrap="nowrap" class="style1"></td>
						        <td class="style5"><span style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"> </td>
                               
                                  
                                <td class="style5"><span  style="color:Red;font-size:Medium;display:none;">*</span>
                                  </td>
                                  
						        <td class="style2"> </td>
					          </tr>
					      
					           <tr bgcolor="#ffffff">
						        <td colspan="9">
                                    <div id="ValidationSummary1" style="color:Red;display:none;">

</div>
                                  </td>
						        <td class="style8">&nbsp;</td>
					          </tr>
						      <tr valign="middle">
						        <td class="orgbg" colspan="10" align="center">
                                    <input type="submit" name="Button1" value="CONFIRM"  id="Button1" tabindex="66" class="btn" onclick="refreshParent()">
						          &nbsp;
                                    <input type="reset" name="Button2" value="RESET" id="Button2" tabindex="67" class="btn">
                                    </td>
					          </tr>
  
</tbody>
</table>
</s:form>


  </body>
</html>
